class Jspang{
    public name:string
    public age:number
    public skill:string
    constructor(name:string,age:number,skill:string){
        this.name=name
        this.age=age
        this.skill=skill
    }

    public IntersectionObserver(){
      console.log('磊在在在')
    }
}

let Jspangobj:Jspang=new Jspang('技术胖',18,'coding')

class Jsshuai extends Jspang{
    public xinxiang:string='shaiqi'

    public IntersectionObserver(){
        super.IntersectionObserver()
        console.log('建立电商平台')
    }
    public zhuangqian(){
        console.log('一天赚一个亿')
    }
}

let shaui:Jsshuai=new  Jsshuai('技术师',5,'演讲')

shaui.IntersectionObserver()
shaui.zhuangqian()